#!/bin/bash



clear



echo "Storage Report by ChenGuiMing"

echo "======================================"



echo -e "\n1. RAID 1 Array (/dev/md1) Status:"

echo "--------------------------------------"

if [ -b /dev/md1 ]; then

    mdadm --detail /dev/md1

else

    echo "RAID device /dev/md1 not found!"

fi



echo -e "\n2. LVM Volume Group Status:"

echo "--------------------------------------"

vgdisplay vg_0324



echo -e "\n3. LVM Logical Volume Status:"

echo "--------------------------------------"

lvdisplay /dev/vg_0324/lv_ChenGuiMing



echo -e "\n4. Filesystem Mount Information:"

echo "--------------------------------------"

mount

df -h

